import pygame

# this class loads a lot of files
# in fact it loads all images and sounds and stuff
class Data:
     def __init__(self):
          
          #--------------------IMAGES----------------
          
          # load the player image
          self.PlayerTopImage = pygame.image.load("data/images/PlayerTop.png").convert_alpha()
          
          # loads the image for the player bullets
          self.PlayerShotOne = pygame.image.load("data/images/PlayerShotOne.png").convert_alpha()
          
          # load the image for enemy 1, lets see how many follow... :D
          self.EnemyOne = pygame.image.load("data/images/EnemyOne.png").convert_alpha()
          
          # load the backgroud tiles
          self.BackgroundGrass = pygame.image.load("data/images/gras.png").convert_alpha()
          
          #------------SOUNDS----------------
          
          # load the player laser gun shot          
          self.PlayerShotOneSound = pygame.mixer.Sound("data/sound/PlayerShotOneSound.wav")
          self.PlayerShotOneSoundDelay = 0
          self.PlayerShotOneSound.set_volume(0.5)
          
          # Background song of stage 1
          self.BackgroundMusicStage1 = pygame.mixer.Sound("data/sound/BackgroundMusic1.wav")
          
          # when a player bullet hits an enemy
          self.EnemyHit = pygame.mixer.Sound("data/sound/EnemyHit.wav")
          
          # the sound when an enemy explodes :D we like exploding enemys
          self.EnemyExplosion = pygame.mixer.Sound("data/sound/EnemyExplosion.wav")
          
